package com.lm56.web.network.domain;

import java.util.List;

/**
 * Created by kelvin on 16/10/23.
 */
public class CompanyLine {

    private Long id;
    private Long userId;
    private Location startLocation;
    private Location endLocation;
    private Integer isRecommend;
    private Integer status;
    private Integer isTwoWay;
    private String duration; //时效 单位:天
    private Double minPrice; //最低一票,即最低消费 单位元
    private List<CompanyLinePrice> prices; //报价


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Location getStartLocation() {
        return startLocation;
    }

    public void setStartLocation(Location startLocation) {
        this.startLocation = startLocation;
    }

    public Location getEndLocation() {
        return endLocation;
    }

    public void setEndLocation(Location endLocation) {
        this.endLocation = endLocation;
    }

    public Integer getIsRecommend() {
        return isRecommend;
    }

    public void setIsRecommend(Integer isRecommend) {
        this.isRecommend = isRecommend;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getIsTwoWay() {
        return isTwoWay;
    }

    public void setIsTwoWay(Integer isTwoWay) {
        this.isTwoWay = isTwoWay;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public Double getMinPrice() {
        return minPrice;
    }

    public void setMinPrice(Double minPrice) {
        this.minPrice = minPrice;
    }

    public List<CompanyLinePrice> getPrices() {
        return prices;
    }

    public void setPrices(List<CompanyLinePrice> prices) {
        this.prices = prices;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
}
